/**
 * Created by zhoua on 2017/8/10.
 */
// import { getUserInfo, queryBalance } from 'api';
// import { Toast } from 'mint-ui';
// import * as types from '../types';
var nav = [
  {
    path: '/index',
    id: '1',
    icon: 'el-icon-tickets',
    title: '系统首页',
    isShow: true,
    children: []
  },
  {
    path: '/sales',
    id: '1',
    icon: 'el-icon-menu',
    title: '销售管理',
    isShow: true,
    children: [
      {
        path: '/salesCommodity',
        id: '1',
        icon: 'el-icon-picture',
        title: '商品管理',
        isShow: true
      },
      {
        path: '/salesBusiness',
        id: '2',
        icon: 'el-icon-picture',
        title: '商务政策管理',
        isShow: true
      },
      {
        path: '/salesPush',
        id: '3',
        icon: 'el-icon-picture',
        title: '推送管理',
        isShow: true
      },
      {
        path: '/salesOrder',
        id: '4',
        icon: 'el-icon-picture',
        title: '订单管理',
        isShow: true
      }
    ]
  },
  {
    path: '/system',
    id: '2',
    icon: 'el-icon-setting',
    title: '系统管理',
    isShow: true,
    children: [
      {
        path: '/systemPost',
        id: '1',
        icon: 'el-icon-picture',
        title: '岗位管理',
        isShow: true
      },
      {
        path: '/systemUser',
        id: '2',
        icon: 'el-icon-picture',
        title: '公司用户管理',
        isShow: true
      },
      {
        path: '/systemAgent',
        id: '3',
        icon: 'index',
        title: '经纪人管理',
        isShow: true
      },
      {
        path: '/systemBrand',
        id: '4',
        icon: 'el-icon-picture',
        title: '品牌管理',
        isShow: true
      },
      {
        path: '/systemColour',
        id: '5',
        icon: 'el-icon-picture',
        title: '颜色管理',
        isShow: true
      }
    ]
  },
  {
    path: '/notice',
    id: '3',
    icon: 'el-icon-bell',
    title: '系统通知',
    isShow: true,
    children: [
      {
        path: '/noticeMessage',
        id: '1',
        icon: 'el-icon-picture',
        title: '系统通知',
        isShow: true
      }
    ]
  }
]
const state = {
  navData: nav,
  name: 'lijie',
  url: '/amdms/file/'
}

const actions = {
}

const mutations = {
}

export default {
  state,
  actions,
  mutations
}
